package com.love.poetry.domain.security;

import com.youboy.core.domain.event.AbstractLifecycleAwareObject;

public class Authority extends AbstractLifecycleAwareObject<Authority> {
						
	private static final long serialVersionUID = 1L;
	private String name;
	private String permission;

	public String getName() {
		return name;
	}

	public Authority setName(String name) {
		this.name = name;
		return this;
	}

	public String getPermission() {
		return permission;
	}

	public Authority setPermission(String permission) {
		this.permission = permission;
		return this;
	}

	@Override
	protected Authority getCaller() {
		return this;
	}

}
